package org.yefei.homeworkday25.five;

import java.io.*;
import java.util.*;

public class Fanxuliehua {
	// 反序列化
	public static void main(String[] args) {
		ObjectInputStream oin = null;
		try {
			oin = new ObjectInputStream(new FileInputStream("F:\\叶飞io测试\\IOhomework测试\\info.txt"));
			Company c = (Company) oin.readObject();
			System.out.println(c);
		} catch (Exception e) {
			e.printStackTrace();
		}
		if (oin != null)
			try {
				oin.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
	}
}
